package com.dianning.web.action.jiaoyu;

import java.util.List;
import org.apache.commons.logging.*;

import com.dianning.service.ParameterService;
import com.dianning.web.action.BaseAction;

public class Index extends BaseAction{

	private static final Log logger = LogFactory.getLog(Index.class);
	
	private ParameterService parameterService;
	
	public ParameterService getParameterService() {
		return parameterService;
	}

	public void setParameterService(ParameterService parameterService) {
		this.parameterService = parameterService;
	}

	private List jiaoyuDiannao;
	private List jiaoyuGuanli;
	private List jiaoyuJiajiao;
	private List jiaoyuLiuxue;
	private List jiaoyuMeirong;
	private List jiaoyuQita;
	private List jiaoyuSheji;
	private List jiaoyuWaiyu;
	private List jiaoyuWenti;
	private List jiaoyuXueli;
	private List jiaoyuYoujiao;
	private List jiaoyuZhiye;


	public List getJiaoyuDiannao() {
		return jiaoyuDiannao;
	}

	public void setJiaoyuDiannao(List jiaoyuDiannao) {
		this.jiaoyuDiannao = jiaoyuDiannao;
	}

	public List getJiaoyuGuanli() {
		return jiaoyuGuanli;
	}

	public void setJiaoyuGuanli(List jiaoyuGuanli) {
		this.jiaoyuGuanli = jiaoyuGuanli;
	}

	public List getJiaoyuJiajiao() {
		return jiaoyuJiajiao;
	}

	public void setJiaoyuJiajiao(List jiaoyuJiajiao) {
		this.jiaoyuJiajiao = jiaoyuJiajiao;
	}

	public List getJiaoyuLiuxue() {
		return jiaoyuLiuxue;
	}

	public void setJiaoyuLiuxue(List jiaoyuLiuxue) {
		this.jiaoyuLiuxue = jiaoyuLiuxue;
	}

	public List getJiaoyuMeirong() {
		return jiaoyuMeirong;
	}

	public void setJiaoyuMeirong(List jiaoyuMeirong) {
		this.jiaoyuMeirong = jiaoyuMeirong;
	}

	public List getJiaoyuQita() {
		return jiaoyuQita;
	}

	public void setJiaoyuQita(List jiaoyuQita) {
		this.jiaoyuQita = jiaoyuQita;
	}

	public List getJiaoyuSheji() {
		return jiaoyuSheji;
	}

	public void setJiaoyuSheji(List jiaoyuSheji) {
		this.jiaoyuSheji = jiaoyuSheji;
	}

	public List getJiaoyuWaiyu() {
		return jiaoyuWaiyu;
	}

	public void setJiaoyuWaiyu(List jiaoyuWaiyu) {
		this.jiaoyuWaiyu = jiaoyuWaiyu;
	}

	public List getJiaoyuWenti() {
		return jiaoyuWenti;
	}

	public void setJiaoyuWenti(List jiaoyuWenti) {
		this.jiaoyuWenti = jiaoyuWenti;
	}

	public List getJiaoyuXueli() {
		return jiaoyuXueli;
	}

	public void setJiaoyuXueli(List jiaoyuXueli) {
		this.jiaoyuXueli = jiaoyuXueli;
	}

	public List getJiaoyuYoujiao() {
		return jiaoyuYoujiao;
	}

	public void setJiaoyuYoujiao(List jiaoyuYoujiao) {
		this.jiaoyuYoujiao = jiaoyuYoujiao;
	}

	public List getJiaoyuZhiye() {
		return jiaoyuZhiye;
	}

	public void setJiaoyuZhiye(List jiaoyuZhiye) {
		this.jiaoyuZhiye = jiaoyuZhiye;
	}

	public String execute() {
		this.setJiaoyuDiannao(this.getParameterService().findParameters("jiaoyuDiannaoType", 2, null,"orders", 0));
		this.setJiaoyuGuanli(this.getParameterService().findParameters("jiaoyuGuanliType", 2, null,"orders", 0));
		this.setJiaoyuJiajiao(this.getParameterService().findParameters("jiaoyuJiajiaoType", 2, null,"orders", 0));
		this.setJiaoyuLiuxue(this.getParameterService().findParameters("jiaoyuLiuxueType", 2, null,"orders", 0));
		this.setJiaoyuMeirong(this.getParameterService().findParameters("jiaoyuMeirongType", 2, null,"orders", 0));
		this.setJiaoyuQita(this.getParameterService().findParameters("jiaoyuQitaType", 2, null,"orders", 0));
		this.setJiaoyuSheji(this.getParameterService().findParameters("jiaoyuShejiType", 2, null,"orders", 0));
		this.setJiaoyuWaiyu(this.getParameterService().findParameters("jiaoyuWaiyuType", 2, null,"orders", 0));
		this.setJiaoyuWenti(this.getParameterService().findParameters("jiaoyuWentiType", 2, null,"orders", 0));
		this.setJiaoyuXueli(this.getParameterService().findParameters("jiaoyuXueliType", 2, null,"orders", 0));
		this.setJiaoyuYoujiao(this.getParameterService().findParameters("jiaoyuYoujiaoType", 2, null,"orders", 0));
		this.setJiaoyuZhiye(this.getParameterService().findParameters("jiaoyuZhiyeType", 2, null,"orders", 0));
		return SUCCESS;
	}
}
